package com.shaw.workrecord.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author jiangjunhui
 * @description
 * @date 2023/8/9 16:56
 */
@Data
@TableName("feed_record")
public class FeedRecord {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("num")
    private Float num;

    @TableField("type")
    private Integer type;

    @TableField("duration")
    private Float duration;

    @TableField("feed_time")
    private LocalDateTime feedTime;

    @TableField("children_id")
    private Long childrenId;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("modify_time")
    private LocalDateTime modifyTime;
}
